import logging

logger=logging.getLogger('work_01')
logger.setLevel(10)

console_handler=logging.StreamHandler()

formatter=logging.Formatter("%(asctime)s__%(name)s__%(levelname)s__%(message)s")
console_handler.setFormatter(formatter)

logger.addHandler(console_handler)

logger.info('hello!!!')